<template>
	<view class="content">       
        1111
		<view @click="onExport">导出</view>
	</view>
</template>

<script>
    import storage from '../../storage/index'
	import exportExcel from '../../export';
	export default {
		data() {
			return {
                list:[]
			}
		},
		onLoad() {
		},
		methods: {
			onExport() {
				let data = storage.get('list')
				console.log('list',[{name:'张三',age:18}])
				exportExcel(data)
			}
		}
	}
</script>

<style>
</style>
